package com.ama.dao;

import com.ama.pojo.Estate;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EstateDao extends BaseMapper<Estate> {
    int deleteByPrimaryKey(Long estateId);

    int insertEstate(Estate estate);

    int insertSelective(Estate estate);

    Estate selectByPrimaryKey(Long estateId);

    List<Estate> selectAll();

    int updateByPrimaryKeySelective(Estate estate);

    int updateByPrimaryKey(Estate estate);
}